package com.boot.entity;

import java.io.Serializable;
import java.util.Date;


public class Comment implements Serializable{

	private static final long serialVersionUID = 1L;
	/**评论的id*/
	private Integer id;
	/**广告的id*/
	private String ad_id;
	/**用户的id*/
	private String user_id;
	/**评论内容*/
	private String content;
	/**评论的时间*/
	private Date addtime;
	/**评论者的昵称*/
	private String nickname;
	/**当前评论的追评次数*/
	private Integer commentnumber;
	/**对当前评论的id*/
	private String comment_id;
	/**点赞数*/
	private Integer goodnumber;
	/**已经点赞*/
	private Integer isAddGood;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getAd_id() {
		return ad_id;
	}
	public void setAd_id(String ad_id) {
		this.ad_id = ad_id;
	}
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public Integer getCommentnumber() {
		return commentnumber;
	}
	public void setCommentnumber(Integer commentnumber) {
		this.commentnumber = commentnumber;
	}
	public String getComment_id() {
		return comment_id;
	}
	public void setComment_id(String comment_id) {
		this.comment_id = comment_id;
	}
	public Integer getGoodnumber() {
		return goodnumber;
	}
	public void setGoodnumber(Integer goodnumber) {
		this.goodnumber = goodnumber;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public Integer getIsAddGood() {
		return isAddGood;
	}
	public void setIsAddGood(Integer isAddGood) {
		this.isAddGood = isAddGood;
	}
	@Override
	public String toString() {
		return "Comment [id=" + id + ", adid=" + ad_id + ", userid=" + user_id + ", content=" + content + ", addtime="
				+ addtime + ",nickname=" + nickname + ", commentnumber=" + commentnumber
				+ ", comment_id=" + comment_id + ", goodnumber=" + goodnumber + "]";
	}
	
}
